const menuList = [
  {
      title: '首页',//菜单标题名称
      key: '/home',//对应的path
      icon: 'HomeOutlined',//图标名称
      isPublic:true
  },
  {
      title: '商品',
      key: '/products',
      icon: 'AppstoreOutlined',
      children: [//子菜单列表
          {
              title: '品类管理',
              key: '/category',
              icon: 'ApartmentOutlined'
          },
          {
              title: '商品管理',
              key: '/product',
              icon: 'ShoppingOutlined'
          },
      ]
  },
  {
    title: '用户管理',
    key: '/user',
    icon: 'TeamOutlined'
  },
  {
    title: '角色管理',
    key: '/role',
    icon: 'SafetyCertificateOutlined',
  },

  {
    title: '图形图表',
    key: '/charts',
    icon: 'AreaChartOutlined',
    children: [
      {
        title: '柱形图',
        key: '/charts/bar',
        icon: 'BarChartOutlined'
      },
      {
        title: '折线图',
        key: '/charts/line',
        icon: 'LineChartOutlined'
      },
      {
        title: '饼图',
        key: '/charts/pie',
        icon: 'PieChartOutlined'
      },
    ]
  },
]

export default menuList;